package com.seatademo.accounts.controller;


import com.seatademo.accounts.entity.AccountTbl;
import com.seatademo.accounts.service.IAccountTblService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wangjiacang
 * @since 2021-09-02
 */
@RestController
@RequestMapping("/accountTbl")
public class AccountTblController {

    @Autowired
    private IAccountTblService iAccountTblService;

    @RequestMapping("/get")
    public boolean debit(){
       iAccountTblService.debit("1",100);
       return true;
    }
}

